﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="navigator.aspx.cs" Inherits="Ecreate.Web.popedom.navigator" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
       <link rel="stylesheet" type="text/css" href="/content/css/popedom.css"  />
       <link rel="stylesheet" type="text/css" href="/content/css/tablestyle.css"  />         
       <link rel="stylesheet" type="text/css" href="/content/javascript/XTree25/dhtmlXTree.css"/>   
       <script type="text/javascript"  src="/content/javascript/jquery/jquery-1.3.2.js" ></script>
       <script type="text/javascript" src="/content/javascript/XTree25/dhtmlXCommon.js"></script>
	   <script type="text/javascript" src="/content/javascript/XTree25/dhtmlXTree.js"></script>	
	   <script type="text/javascript" src="/content/javascript/Aspnet.js"></script>		   
	   <script type="text/javascript" language="javascript">
	       function createTree() {
	           tree_productclass = new dhtmlXTreeObject("tree", "100%", "600", 0);
               tree_productclass.setSkin('dhx_skyblue');
               tree_productclass.setImagePath("/content/javascript/XTree25/imgs/csh_bluefolders/");
               var xml = "<%=str_xml%>";
               tree_productclass.setOnClickHandler(tree_productOnclick);
               tree_productclass.loadXMLString(xml);
           }
           function tree_productOnclick(nodeId) {
               var url = tree_productclass.getUserData(nodeId, "url");
               if (typeof (url) == "undefined" || url == "") return;
               window.parent.frames["contentIframe"].location = url;
           }
           $(document).ready(function() {
                 createTree();
           }); 
        </script>                  
</head>
<body>
    <form id="AspNetForm" runat="server">
             <div id="tree">
             </div>	
    </form>
</body>
</html>
